<template>
  <div class="el-signin-list">
    <!-- <div class="el-signin-title el-text-c">{{ $route.query.courseName }}</div> -->
    <el-table class="el-signin-table" :data="tableData" border show-summary @row-click="row_click">
      <el-table-column label="序号" width="120" align="center">
        <template slot-scope="scope">
          {{ scope.$index + 1 }}
        </template>
      </el-table-column>
      <!-- <el-table-column prop="id" label="ID" width="180"></el-table-column> -->
      <el-table-column prop="course_catalog_name" label="课时名称" align="center" />
      <el-table-column prop="adopt" label="签到汇总" align="center" width="220" />
      <el-table-column prop="adoptno" label="未签到汇总" align="center" width="220">
        <template slot-scope="scope">
          {{ scope.row.countAll - scope.row.adopt }}
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>
<script src="./index.js"></script>
<style lang="scss" src="./index.scss"></style>
